<!DOCTYPE html>
<html lang="en" ng-app="myapp">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>汉东服饰企业制服定制</title>
    <link rel="stylesheet" href="./components/materialize/dist/css/materialize.css"/>
    <link rel="stylesheet" href="./components/font-awesome/css/font-awesome.css"/>
    <link rel="stylesheet" href="./css/login.css">
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body ng-controller="login.ctrl">
<header>
    <div class="header-content">
        <a class="header-back fa fa-angle-left" href="./index.html"></a>
        <span>会员登录</span>
        <div></div>
    </div>
</header>
<main>
    <div class="container">
        <form ng-submit="doLogin()">
            <div class="input-field col s12">
                <input id="user_name" type="text" class="validate" ng-model="username" required>
                <label for="user_name">账号</label>
            </div>
            <div class="input-field col s12">
                <input id="password" type="password" class="validate" ng-model="password" required>
                <label for="password">密码</label>
            </div>
            <p>
                <input type="checkbox" id="remember-login" class="rememb" checked/>
                <label for="remember-login" class="rememb-label">记住我(一个月内免登录)</label>
            </p>
            <div class="col s12 submit-box">
                <input type="submit" value="登录" class="login-submit">
            </div>
            <div class="col s12">
                <a href="register.html" class="registe">免费注册</a>
                <a href="./tpls/forgetpassword.html" class="registe">忘记密码？&nbsp;</a>
            </div>
        </form>
    </div>
    <div class="tipinfo" ng-if="checkLogin">
        <p class="red-text text-accent-4 center-align">用户名或密码错误!</p>
    </div>
</main>
<script src="./js/flexible.js"></script>
<script src="./components/jquery/dist/jquery.js"></script>
<script src="./components/angular/angular.js"></script>
<script src="./components/angular-ui-router/release/angular-ui-router.js"></script>
<script src="./components/materialize/dist/js/materialize.js"></script>
<script src="./js/login.js"></script>
</body>
</html>